#ifndef OpenDirectoryH
#define OpenDirectoryH

#include "Outils.h"
#include <SysUtils.hpp>
#include <Controls.hpp>
#include <Classes.hpp>
#include <Forms.hpp>



enum OPTIONS
  {
    OrdinateursSeulement,
    ImprimantesSeulement,
    NePasSelectionnerlesRepertoiresReseau,
    VoirCorbeilleIE,
    RepertoiresSeulement,
    EditControl
//    InclureTexteStatus
  };

typedef Set <OPTIONS,OrdinateursSeulement,EditControl> Option;

class PACKAGE_OUTILS COpenDirectory : public TComponent
{
private:
  bool m_AntiSlashFinal;
  Option m_Options;
  AnsiString m_Repertoire,m_RepertoireInitial,m_Texte;
protected:
public:
  __fastcall COpenDirectory(TComponent* Owner);
  bool __fastcall Execute();
__published:
  __property AnsiString Repertoire = {read = m_Repertoire,write = m_Repertoire};
  __property AnsiString RepertoireInitial = {read = m_RepertoireInitial,write = m_RepertoireInitial};
  __property AnsiString Texte = {read = m_Texte,write = m_Texte};
  __property Option Options = {read = m_Options,write = m_Options};
  __property bool AntiSlashFinal = {read = m_AntiSlashFinal,write = m_AntiSlashFinal,default = false};
};



#endif
 